home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 16
/
CU Amiga Magazine's Super CD-ROM 16 (1997-10-16)(EMAP Images)(GB)[!][issue 1997-11].iso
/
CUCD
/
Utilities
/
moreHTML
/
Source
/
MyList.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-09-11
|
512b
|
29 lines
// MyList
// © Dirk Holtwick, 1997
/// struct MyList
struct MyItem
{
APTR next;
/*
... follows rest of data structure ...
*/
};
struct MyList
{
struct MyItem
*first;
struct MyItem
*last;
ULONG size;
ULONG pudsize;
APTR pool;
};
///
/// Funcs
extern struct MyList *MyCreateList(register ULONG size, register ULONG pudsize);
extern void MyDisposeList(register struct MyList *mylist);
extern APTR MyAddItem(register struct MyList *mylist);
///